Integration of a microphone array with acoustic echo cancellation and residual echo suppression

ABSTRACT

Acoustic echo cancellation, residual echo suppression and sound-source localization/microphone array processes are combined in a two-way voice communication system that uses a microphone array to capture local speech. The processes can be configured according to various alternative architectures and enhancements made to the processes to avoid the adverse effects of non-linear operations in the residual echo suppression on the sound-source localization/microphone array process.

BACKGROUND

Acoustic Echo Cancellation (AEC) is a digital signal processing technology which is used to remove the acoustic echo from a speaker phone in two-way (full duplex) or multi-way communication systems, such as traditional telephone or modern internet audio conversation applications.

1. Overview of AEC Processing

FIG. 1 illustrates an example of one end 100 of a typical two-way communication system, which includes a capture stream path and a render stream path for the audio data in the two directions. The other end is exactly the same. In the capture stream path in the figure, an analog to digital (A/D) converter 120 converts the analog sound captured by microphone 110 to digital audio samples continuously at a sampling rate (fs_(mic)). The digital audio samples are saved in capture buffer 130 sample by sample. The samples are retrieved from the capture buffer in frame increments (herein denoted as “mic[n]”). Frame here means a number (n) of digital audio samples. Finally, samples in mic[n] are processed and sent to the other end.

In the render stream path, the system receives audio samples from the other end, and places them into a render buffer 140 in periodic frame increments (labeled “spk[n]” in the figure). Then the digital to analog (D/A) converter 150 reads audio samples from the render buffer sample by sample and converts them to an analog signal continuously at a sampling rate, fs_(spk). Finally, the analog signal is played by speaker 160.

In systems such as that depicted by FIG. 1, the near end user's voice is captured by the microphone 110 and sent to the other end. At the same time, the far end user's voice is transmitted through the network to the near end, and played through the speaker 160 or headphone. In this way, both users can hear each other and two-way communication is established. But, a problem occurs if a speaker is used instead of a headphone to play the other end's voice. For example, if the near end user uses a speaker as shown in FIG. 1, his microphone captures not only his voice but also an echo of the sound played from the speaker (labeled as “echo(t)”). In this case, the mic[n] signal that is sent to the far end user includes an echo of the far end user's voice. As the result, the far end user would hear a delayed echo of his or her voice, which is likely to cause annoyance and provide a poor user experience to that user.

Practically, the echo echo(t) can be represented by speaker signal spk(t) convolved by a linear response g(t) (assuming the room can be approximately modeled as a finite duration linear plant) as per the following equation: echo(t) = spk(t) * g(t) = ∫₀^(T_(e))g(τ) ⋅ spk(t − τ)  𝕕τ where * means convolution, T_(e) is the echo length or filter length of the room response.

In order to remove the echo for the remote user, AEC 210 is added in the system as shown in FIG. 2. When a frame of samples in the mic[n] signal is retrieved from the capture buffer 130, they are sent to the AEC 210. At the same time, when a frame of samples in the spk[n] signal is sent to the render buffer 140, they are also sent to the AEC 210. The AEC 210 uses the spk[n] signal from the far end to predict the echo in the captured mic[n] signal. Then, the AEC 210 subtracts the predicted echo from the mic[n] signal. This difference or residual is the clear voice signal (voice[n]), which is theoretically echo free and very close to the near end user's voice (voice(t)).

FIG. 3 depicts an implementation of the AEC 210 based on an adaptive filter 310. The AEC 210 takes two inputs, the mic[n] and spk[n] signals. It uses the spk[n] signal to predict the mic[n] signal. The prediction residual (difference of the actual mic[n] signal from the prediction based on spk[n]) is the voice[n] signal, which will be output as echo free voice and sent to the far end.

The actual room response (that is represented as g(t) in the above convolution equation) usually varies with time, such as due to change in position of the microphone 110 or speaker 160, body movement of the near end user, and even room temperature. The room response therefore cannot be pre-determined, and must be calculated adaptively at running time. The AEC 210 commonly is based on adaptive filters such as Least Mean Square (LMS) adaptive filters 310, which can adaptively model the varying room response.

In addition to AEC, these voice communications systems (e.g., alternative system 400 shown in FIG. 4) may also provide center clipping (CC) 410 processing of the audio signal captured by the microphone. Center clipping further reduces echo (after acoustic echo cancellation 210) by setting the magnitude of the processed microphone signal equal to the magnitude of the background noise floor during periods when echo is detected, but no near-end speech is present.

The full-duplex communication experience can be further improved by two additional processes for processing the near-end speech signal. These include a residual echo suppression (RES) process that further suppresses the acoustic echo from the speakers; and a microphone array process that improves the signal to noise ratio of the speech captured from multiple microphones. One subcomponent of the microphone array process is a sound source localization (SSL) process used to estimate the direction of arrival (DOA) of the near-end, speech signal.

2. Overview of RES Processing

FIG. 5 illustrates a conventional residual echo suppression (RES) process 500. The representative RES process is applied to a microphone channel c following the AEC process.

Upon starting, the RES process is initialized (510) to the following initial state of weight (w_(c)), complex, frequency domain AEC residual (X_(c)(f,t)), and far-end signal power (P_(c)(f,t)): w _(c)(0)=0 X _(c)(f,t)=0 for t≦0 P _(c)(f,0)=∥X _(c)(f,1)∥² where f is the individual frequency band and t is the frame index. Here, the weight is a factor applied in the RES process to predict the residual signal magnitude. The complex AEC residual is the output produced by the previous AEC process in the microphone channel. The far-end signal power is the power of the far-end signal calculated in the RES process.

As indicated at 520, 590 in FIG. 5, the RES process 500 repeats a processing loop (actions 530-580) for each frame t=1, . . . , ∞ of the microphone channel. In the processing loop, the RES process 500 first predicts (action 530) the residual signal magnitude estimate by the equation, ${{\hat{R}}_{c}\left( {f,t} \right)} = {\sum\limits_{i = 0}^{L - 1}\quad{{w_{c,i}(t)}{{X_{c}\left( {f,{t - i}} \right)}}}}$

At action 540, the RES process 500 computes the error signal as a function of the magnitude of the AEC residual M_(c), the residual signal magnitude estimate, and the noise floor NF_(c)(f,t), via the equation: E _(c)(f,t)=max(|M _(c)(f,t)|−{circumflex over (R)} _(c)(f,t),NF _(c)(f,t)))  (1)

At action 550, the RES process 500 computes the smoothed far-end signal power using the calculation, P _(c)(f,t)=αP _(c)(f,t−1)+(1−α)∥X _(c)(f,t)∥²

At action 560, the RES process 500 computes the normalized gradient ${\nabla_{c}(t)} = \frac{{- 2}{E_{c}\left( {f,t} \right)}{{X_{c}\left( {f,t} \right)}}}{P_{c}\left( {f,t} \right)}$

At action 570, the RES process 500 updates the weight with the following equation, ${w_{c}\left( {t + 1} \right)} = {{w_{c}(t)} - {\frac{\mu}{2}{\nabla_{c}(t)}}}$

At action 580, the RES process 500 applies the gain to the AEC Residual phase to produce the RES process output (B_(c)(f,t)) using the following calculation, where φ_(c)(f,t) is the phase of the complex AEC residual, X_(c)(f,t), B _(c)(f,t)=E _(c)(f,t)e ^(jφ) ^(c) ^((f,t))  (2)

The RES process 500 then continues to repeat this processing loop (actions 530-580) for a subsequent frame as indicated at 590. With this processing, the RES process is intended to predict and remove residual echo remaining from the preceding acoustic echo cancellation applied on the microphone channel. However, the RES process 500 includes a non-linear operation, i.e., the “max” operator in equation (1). The presence of this non-linear operation in the RES process 500 may introduce non-linear phase effects in the microphone channel that can adversely affect the performance of subsequent processes that depend upon phase and delay of the microphone channel, including the SSL/MA process.

3. Overview of Center Clipping

FIG. 6 shows an overview of a center clipping (CC) process 600 that is known in the art. The illustrated CC process performs center clipping for a single frequency band. The CC process 600 is run separately on each of the frequency bands on which center clipping is to be performed.

The CC process 600 operates as follows. A multiplier block 610 multiplies an estimate of the peak speaker signal (“SpkPeak”) by an estimate of the speaker to microphone gain (“SpkToMicGain”), producing a leak through estimate (“leak through”) of the peak speaker echo in the microphone signal. Next, the leak through estimate is filtered across the neighboring frequency bands in block 620 to produce a filtered leak through estimate. Reverberance block 630 scales the filtered, leak through estimate by another parameter to account for the amount of reverberance in the particular band, yielding the value labeled as A.

In parallel, filter blocks 640, 650 separately filter the instantaneous microphone power and residual power across the neighboring frequency bands. Block 660 selects the minimum of the two filtered power results to produce the value labeled as B. As indicated at block 670, if A>B, then a flag is set to 1. Otherwise, the flag is set to 0. If the flag is set to 0, then the AEC residual for band f is not changed, and block 680 outputs the AEC residual as the CC process output. However, if the flag is set to 1, then block 680 instead sets the AEC residual in band f to a complex value with the magnitude equal to the background noise floor, and the phase is set to a random value between 0 and 360 degrees produced at block 690.

This conventional center clipping process is designed to operate on a single microphone channel. This conventional process does not allow for the multiple microphone channels in a microphone array, due to the non-linear process in block 680. In addition, a microphone array has separate speaker to microphone gain for each microphone channel, and separate instantaneous microphone power.

SUMMARY

The following Detailed Description presents various ways to integrate residual echo suppression and center clipping with sound source localization, and microphone array processing in two-way communication systems. In particular, various configurations or architectures for combining residual echo suppression into a system with audio echo cancellation and sound source localization with microphone arrays in ways that address the non-linear processing issue are presented. Additionally, modifications or extensions of the center clipping processing to permit integration with microphone array processing are presented.

This Summary is provided to introduce a selection of concepts in a simplified form that is further described below in the Detailed Description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter. Additional features and advantages of the invention will be made apparent from the following detailed description of embodiments that proceeds with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating one end of a typical two-way communication system in the prior art.

FIG. 2 is a block diagram of the two-way communication system of FIG. 1 with audio echo cancellation.

FIG. 3 is a block diagram of an implementation of audio echo cancellation based on an adaptive filter.

FIG. 4 is a block diagram of one end of a two-way communication system with acoustic echo cancellation and center clipping.

FIG. 5 is a flow chart of a conventional residual echo suppression process.

FIG. 6 is a flow diagram of a conventional center clipping process.

FIG. 7 is a block diagram of a single microphone channel of a multiple microphone audio capture system of one end of a two-way communication system with acoustic echo cancellation, residual echo suppression, combined sound-source localization/microphone array processing and center clipping.

FIG. 8 is a block diagram of one end of a two-way voice communication system having multiple microphone channels, in which the single channel arrangement of FIG. 7 is replicated for each of the multiple channels.

FIG. 9 is a block diagram of a first architecture for one end of a two-way voice communication system having multiple microphone channels, with integrated residual echo suppression and sound-source localization/microphone array processes.

FIG. 10 is a block diagram of a second architecture for one end of a two-way voice communication system having multiple microphone channels, with integrated residual echo suppression and sound-source localization/microphone array processes.

FIG. 11 is a block diagram of a third architecture for one end of a two-way voice communication system having multiple microphone channels, with integrated residual echo suppression and sound-source localization/microphone array processes.

FIG. 12 is a flow diagram of a computation of an overall leak through estimate for multiple microphone channels.

FIG. 13 is a flow diagram of a computation of an overall instantaneous microphone power estimate for multiple microphone channels.

FIG. 14 is a flow diagram of a center clipping process with extensions for microphone arrays that can be included in the two-way voice communication systems of FIG. 9-11.

FIG. 15 is a block diagram of a first example of one end of a two-way voice communication system having multiple microphone channels, with integrated center clipping and sound-source localization/microphone array processes.

FIG. 16 is a block diagram of a second example of one end of a two-way voice communication system having multiple microphone channels, with integrated center clipping and sound-source localization/microphone array processes.

FIG. 17 is a block diagram of a suitable computing environment for implementing a two-way communication system utilizing the AEC implementation having improved robustness and quality.

DETAILED DESCRIPTION

The following description relates to implementations of residual echo suppression and center clipping that permit integration with sound source localization/microphone array processing, and their application in two-way audio/voice communication systems (e.g., traditional or internet-based telephony, voice chat, and other two-way audio/voice communications). Although the following description illustrates the inventive integration of residual echo suppression and center clipping with sound source localization/microphone array processing in the context of an internet-based voice telephony, it should be understood that this approach also can be applied to other two-way audio communication systems and like applications.

1. RES and SSL/MA Integration

As shown in FIG. 7 for a single microphone channel of the multiple microphone system shown in FIG. 8, one possible processing order is AEC 210, RES 710, the combined sound source localization and microphone array (SSL/MA) process 720, and center clipping 410. In the first processing block, AEC can often reduce the echo in the captured microphone signal by 20 to 30 dB. In the second processing block, RES 710, also referred to as acoustic echo suppression, processes the AEC residual (i.e. output) further reducing the echo by up to 8 dB. In the third SSL/MA 720 stage, the microphone array process uses the DOA estimate to combine the individual microphone channels thereby improving the quality of the near-end speech signal relative to the noise floor in the near-end room.

Although possible to arrange the AEC, RES, SSL/MA and CC processes in the processing order shown in FIG. 7, the combined SSL/MA process requires that all processes that operate prior to the SSL/MA stage process the near-end speech signal from each individual channel using linear phase processes. Linear phase processes transform the phase of the input signal as a linear function of the frequency, while non-linear phase processes alter the phase of the input signal in some non-linear function of the frequency. The RES process includes non-linear phase components which can adversely affect the performance of the SSL/MA process.

A second problem arises due to the integration of the center clipping (CC) process with the SSL/MA process. A typical CC process compares an estimate of the peak echo signal received at the microphone to the processed AEC residual. However, as shown in FIG. 7, the CC process operates on the output of the microphone array. It is not desirable to operate the CC on each channel's AEC residual because, again, the CC process is non-linear phase which can adversely affect the output of the SSL/MA process.

FIG. 8 shows one potential architecture of a multiple microphone channel communications system 800 that combines the RES process with the SSL/MA process. This architecture simply replicates the single microphone channel architecture of FIG. 7 for each microphone channel 810-812. As in the single microphone channel architecture depicted in FIG. 7, the output of the RES process 710 constitutes the input to the combined SSL/MA process 720 in each channel. As discussed in the Background section above, this arrangement can suffer due to the non-linear phase effects of the RES process causing problems for the SSL process and perhaps the microphone array process, depending on which type of microphone array process is used. For that reason, this approach to integrating the RES process with the SSL/MA process is undesirable.

This section presents three other alternative architectures of multiple microphone channel communications systems that more successfully integrate the RES and SSL/MA processes.

A first alternative architecture for a multiple microphone channel voice communications system 900 with integrated RES and SSL/MA processes is shown in FIG. 9. This architecture is based on the observation that, for a beam forming type microphone array process, the non-linear phase processing may only affect the SSL process and not that of the microphone array process. Accordingly, the combined SSL/MA process is replaced with a separate SSL process 910 and a beam forming type microphone array process 920. In FIG. 9, the outputs of the AEC components are then input to the SSL process 910 as well as the RES processes 710 for each channel. The microphone array process 920 combines the SSL estimate 930 from the SSL process 910 with the outputs 940 of the RES processes 710 to produce the final, processed mono speech signal 950. The RES process 710 can be implemented using the process 500 illustrated in FIG. 5, or any of various other conventionally known residual echo suppression processes. The SSL process 910 also can be implemented using conventionally known implementations of sound source localization. The MA process in this architecture is preferably a beam-forming type microphone array process. However, other microphone array processing that is not adversely affected by the non-linearity of the RES process 710 also can be used.

A voice communications system 1000 based on a second alternative integrated RES and SSL/MA architecture is shown in FIG. 10. According to this alternative, the outputs of the AEC processes 210 of the microphone channels are combined using a combined SSL/MA process 720 to produce a mono voice signal output. In addition, the AEC process outputs are also fed into a parallel structure containing a separate implementation of a modified RES Prediction (RES_Pred) process 1010 for each AEC output.

The RES_Pred process 1010 is similar to the standard RES process 500 shown in FIG. 5 and described in the Background section above, except for the following modification. From equation (1), the magnitude error E_(e)(f,t) is typically equal to the difference between the magnitude of the AEC residual |M_(c)(f, t)| and the predicted magnitude {circumflex over (R)}_(c)(f, t) for a given channel. When the difference is greater than the noise floor, equation (2) shows that the output of the RES is equal to B _(c)(f,t)=E _(c)(f,t)e ^(jφ) ^(c) ^((f,t))=|M_(c)(f,t)|e ^(jφ) ^(c) ^((f,t)) −{circumflex over (R)} _(c)(f,t)e ^(jφ) ^(c) ^((f,t)) Simplifying leads to B _(c)(f,t)=M _(c)(f,t)−{circumflex over (R)} _(c)(f,t)e ^(jφ) ^(c) ^((f,t))  (3) where M_(c)(f,t) is the AEC residual for channel c. As shown in FIG. 10, the inputs to the RES_Pred process 1010 are the AEC residuals. The output of the RES_Pred process 1010 is then {circumflex over (R)}_(c)(f,t)e^(jφ) ^(c) ^((f,t)) (“predicted residual echo”) instead of the quantity in equation (2).

The outputs of the RES_Pred processes 1010 for the microphone channels are combined using a parallel implementation of the microphone array process 1020, and the final result is subtracted (at block 1030) from the result of the combined sound source localization/microphone array process 720 operating on the AEC residuals. The subtraction block 1030 in FIG. 10 of the combined RES_Pred outputs for all channels is equivalent to the combined subtraction of the individual RES outputs in equation (3) for a beam forming microphone array process. After the combined SSL/MA process 720 is first run on the AEC outputs producing a direction of arrival (DOA) estimate, the microphone array coefficients for the frame of data t are then copied to the parallel MA process 1020 that implements only the microphone array process (i.e., not including the SSL process) run directly on the RES outputs. For example, with the beam former type MA process, the dot product of the microphone weights with the outputs of the RES process is identical to if the beam former MA process had been run on the RES outputs directly as in FIG. 8. Since the subtraction is done after the beam former MA process, the linear phase requirements for the combined SSL/MA process are not compromised.

When the difference in equation (1) is less than the noise floor for channel c, then the RES_Pred output {circumflex over (R)}_(c)(f,t)e ^(jΦ) ^(c) ^((f,t)) is set to {circumflex over (R)} _(c)(f,t)e ^(jφ) ^(c) ^((f,t)) =M _(c)(f,t)−NF _(c)(f,t)e ^(jφ) ^(c) ^((f,t)). Neglecting the microphone array gain for the channel, the resulting output for channel c after the subtraction in block 1030 is B _(c)(f,t)=M _(c)(f,t)−M _(c)(f,t)−NF _(c)(f,t)e ^(jφ) ^(c) ^((f,t)))=NF _(c)(f,t)e ^(jφ) ^(c) ^((f,t)). which has a magnitude equal to the second condition of the maximum in equation (2).

The voice communications system 1000 can also include a maximum operator applied at the output of the subtraction block 1030 to ensure the magnitude of the difference of the combined AEC residuals by the common SSL/MA process 720 and the combined predicted residual echoes by block 1020 is greater than or equal to the magnitude of the combined noise floor produced by the common SSL/MA process 720. This maximum operator compares the magnitude of the difference of the combined AEC residuals and the combined predicted residual echoes to the magnitude of the combined noise floor. If the magnitude of the output of the difference block is greater than or equal to the magnitude of the combined noise floor, the maximum operator passes the difference signal unchanged. Otherwise, the maximum operator sets the magnitude of the difference signal to the magnitude of the combined noise floor.

FIG. 11 shows one end of a voice communications system 1100 according to a third alternative integrated RES and SSL/MA architecture. In this third alternative architecture, the RES process 710 is run after the combined SSL/MA process 720. Since the input to the RES process 710 is the SSL/MA output, the non-linear phase components in the RES process do not affect the SSL or microphone array processes. However, one possible drawback with this architecture is that the SSL process may steer the microphone array process quickly to a wide variety of directions (i.e., the DOA estimate of the SSL process may vary rapidly). As a result, the channel that the RES process tries to learn may not be able to effectively track the actual channel.

2. Center Clipping and SSL/MA Integration

In this section, we present an extension of a center clipping process that permits integration with the SSL/MA process.

As discussed in the Background section, the conventional center clipping process was designed to operate on a single channel. However, there are several problems related to running the conventional center clipping process after a microphone array process. For a microphone array, there is a separate speaker to microphone gain for each microphone channel. Likewise, there is a separate instantaneous microphone power for each microphone channel. As a result, there are separate leak through and instantaneous microphone power estimates for each channel.

Therefore, what is needed is a method to estimate a single leak through estimate for all channels. As illustrated in FIG. 12, the multiple microphone channel leak through estimate process calculates a leak through estimate for each channel of the microphone array, then applies a multi-channel leak through selector 1210 to produce an overall leak through estimate for the microphone array as a function of the individual channel leak through estimates. The overall leak through estimate can be achieved in several ways.

For a beam forming type microphone array process, the multi-channel leak through selector 1210 computes the dot product of the separate filtered, leak through estimates for each channel with the corresponding microphone array coefficients. This resulting dot product represents the filtered, leak through estimate in the direction pointed to by the array.

Alternative methods that the multi-channel leak through selector 1210 may implement for computing a single filtered, leak through estimate are to use the maximum of the individual channel filtered, leak through estimates; the minimum filtered, leak through estimate; or some other weighting of the filtered, leak through estimates, such as equal weighting or weighting varying according to a set of weighting coefficients.

In the overall leak through process as shown in FIG. 12, the individual leak through estimates are averaged (filtered) across frequency bands in filters 1220-1222 before the estimates are combined. Alternatively, the individual leak through estimates can be combined first and then filtered across frequency bands (i.e., the multi-channel leak through selector 1210 comes before applying a post-filter instead of pre-filters 1220-1222). Such post-filtering can be problematic for some types of combining, such as taking the maximum or the minimum.

A separate method to compute a single instantaneous microphone power estimate for all channels is also needed for microphone array integration. FIG. 13 illustrates a process 1300 to produce this single, overall instantaneous estimate for the microphone array. In the illustrated process 1300, the instantaneous microphone power estimates are combined via a multi-channel instantaneous microphone power selector 1310 to produce an overall instantaneous microphone power estimate for the microphone array. The process also includes filtering 1320-1322 of the individual channel instantaneous microphone power estimates. The selector 1310 can produce the overall estimate in various alternative ways.

Again, a preferred selector method for the beam-forming type microphone array process is to compute the dot product of the separate filtered, instantaneous microphone power estimates for each channel with the corresponding microphone array coefficients. This resulting dot product represents the filtered, instantaneous microphone power estimate in the direction pointed to by the array (i.e., the DOA estimate of the SSL process).

Alternative methods that the multi-channel selector 1310 may implement for computing a single filtered, instantaneous microphone power estimate include using the maximum, filtered instantaneous microphone power estimate; the minimum, filtered instantaneous microphone power estimate; or some other weighting of the filtered, instantaneous microphone power estimate such as equal weighting or weighting varying according to a set of weighting coefficients.

As shown in FIG. 13, the illustrated overall microphone power process 1300 applies filters 1320-1322 averaging individual instantaneous microphone power estimates across frequency bands before the estimates are combined via the selector 1310. Alternatively, the individual instantaneous microphone power estimates can be combined first and then filtered across frequency bands by a post-filter. Post-averaging can be problematic for some types of combining such as taking the maximum or the minimum.

FIG. 14 shows the CC process 1400 for microphone array integration utilizing the overall leak through estimate produced by the process 1200 in FIG. 12, and the overall instantaneous microphone power estimate computed via the process 1300 in FIG. 13.

The CC process 1400 with microphone array integration can be incorporated into the above described integrated RES and SSL/MA architectures (FIG. 8 and FIGS. 9-11) either as a process applied to each microphone channel prior to the SSL/MA, or applied after the SSL/MA process. For example, FIG. 15 shows a two-way communication system 1500 using a modified version of the first alternative architecture (shown in FIG. 9) in which a CC block 1510 implementing the CC process 1400 (FIG. 14) is applied at the output 940 of the RES process 710 on each microphone channel. As another example, FIG. 16 shows a two-way communications system 1600 using another modification of the first alternative architecture in which a CC block 1610 implementing the CC process 1400 (FIG. 14) is applied at the output 950 of the microphone array process 920.

3. Computing Environment

The above-described processing techniques for RES and CC with microphone array integration can be realized on any of a variety of two-way communication systems, including among other examples, computers; speaker telephones; two-way radio; game consoles; conferencing equipment; and etc. The AEC digital signal processing techniques can be implemented in hardware circuitry, in firmware controlling audio digital signal processing hardware, as well as in communication software executing within a computer or other computing environment, such as shown in FIG. 17.

FIG. 17 illustrates a generalized example of a suitable computing environment (1700) in which described embodiments may be implemented. The computing environment (1700) is not intended to suggest any limitation as to scope of use or functionality of the invention, as the present invention may be implemented in diverse general-purpose or special-purpose computing environments.

With reference to FIG. 17, the computing environment (1700) includes at least one processing unit (1710) and memory (1720). In FIG. 17, this most basic configuration (1730) is included within a dashed line. The processing unit (1710) executes computer-executable instructions and may be a real or a virtual processor. In a multi-processing system, multiple processing units execute computer-executable instructions to increase processing power. The memory (1720) may be volatile memory (e.g., registers, cache, RAM), non-volatile memory (e.g., ROM, EEPROM, flash memory, etc.), or some combination of the two. The memory (1720) stores software (1780) implementing the described audio digital signal processing for RES and CC with microphone array integration.

A computing environment may have additional features. For example, the computing environment (1700) includes storage (1740), one or more input devices (1750), one or more output devices (1760), and one or more communication connections (1770). An interconnection mechanism (not shown) such as a bus, controller, or network interconnects the components of the computing environment (1700). Typically, operating system software (not shown) provides an operating environment for other software executing in the computing environment (1700), and coordinates activities of the components of the computing environment (1700).

The storage (1740) may be removable or non-removable, and includes magnetic disks, magnetic tapes or cassettes, CD-ROMs, CD-RWs, DVDs, or any other medium which can be used to store information and which can be accessed within the computing environment (1700). The storage (1740) stores instructions for the software (1780) implementing the described audio digital signal processing for RES and CC with microphone array integration.

The input device(s) (1750) may be a touch input device such as a keyboard, mouse, pen, or trackball, a voice input device, a scanning device, or another device that provides input to the computing environment (1700). For audio, the input device(s) (1750) may be a sound card or similar device that accepts audio input in analog or digital form from a microphone or microphone array, or a CD-ROM reader that provides audio samples to the computing environment. The output device(s) (1760) may be a display, printer, speaker, CD-writer, or another device that provides output from the computing environment (1700).

The communication connection(s) (1770) enable communication over a communication medium to another computing entity. The communication medium conveys information such as computer-executable instructions, compressed audio or video information, or other data in a modulated data signal. A modulated data signal is a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired or wireless techniques implemented with an electrical, optical, RF, infrared, acoustic, or other carrier.

The described audio digital signal processing for RES and CC with microphone array integration techniques herein can be described in the general context of computer-readable media. Computer-readable media are any available media that can be accessed within a computing environment. By way of example, and not limitation, with the computing environment (1700), computer-readable media include memory (1720), storage (1740), communication media, and combinations of any of the above.

The described audio digital signal processing for RES and CC with microphone array integration techniques herein can be described in the general context of computer-executable instructions, such as those included in program modules, being executed in a computing environment on a target real or virtual processor. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The functionality of the program modules may be combined or split between program modules as desired in various embodiments. Computer-executable instructions for program modules may be executed within a local or distributed computing environment.

For the sake of presentation, the detailed description uses terms like “determine,” “generate,” “adjust,” and “apply” to describe computer operations in a computing environment. These terms are high-level abstractions for operations performed by a computer, and should not be confused with acts performed by a human being. The actual computer operations corresponding to these terms vary depending on implementation.

In view of the many possible embodiments to which the principles of our invention may be applied, we claim as our invention all such embodiments as may come within the scope and spirit of the following claims and equivalents thereto. 

1. A method of digital signal processing at a near end of a two-way communication system for reducing echo for a remote end, the near end having a speaker for playing audio from the remote end and an array of microphones to capture near end speech, the method comprising: applying an acoustic echo cancellation process for canceling remote-end echo on each of a plurality of microphone channels from the microphone array; applying a residual echo suppression process for further reducing remote-end echo; and performing a sound source localization process and a microphone array process to produce a source-localized speech channel based on the microphone channels.
 2. The method of claim 1 wherein said applying the residual echo suppression process comprises separately applying the residual echo suppression process following the acoustic echo cancellation process on each microphone channel.
 3. The method of claim 2 wherein said performing the sound source localization process and the microphone array process comprises: performing the sound source localization process based on outputs of the acoustic echo cancellation process prior to the residual echo suppression process on the microphone channels to determine a direction of arrival estimate; and performing the microphone array process on the outputs of the residual echo suppression process on the microphone channels according to the direction of arrival estimate to produce a source-localized speech channel for transmission to the remote end.
 4. The method of claim 3 wherein the microphone array process is a beam forming type.
 5. The method of claim 3 further comprising performing a center clipping process on each microphone channel following the residual echo suppression.
 6. The method of claim 3 further comprising performing a center clipping process on the source-localized speech channel following the microphone array processing.
 7. The method of claim 1 further comprising: performing the sound source localization process and microphone array process as a combined process on outputs of the acoustic echo cancellation process on the microphone channels to produce a source-localized speech channel and a set of microphone array coefficients; in parallel to the combined process, separately applying a residual echo suppression predictor process to outputs of the acoustic echo cancellation process on each microphone channel; and performing a separate microphone array process based on the microphone array coefficients of the combined process and applied on outputs of the residual echo suppression predictor process to produced a combined residual echo suppression prediction; subtracting the combined residual echo suppression prediction from the output of the combined process on the source-localized speech channel to produce a near end speech signal for transmission to the remote end.
 8. The method of claim 7 wherein the output of the residual echo suppression predictor process for a microphone channel is a quantity, {circumflex over (R)}_(c)(f,t)e^(jφ) ^(c) ^((f,t)).
 9. The method of claim 7 further comprising limiting the near end speech signal from being less than a noise floor.
 10. The method of claim 1 further comprising: performing the sound source localization process and the microphone array process as a combined process on outputs of the acoustic echo cancellation process on the microphone channels to produce a source-localized speech channel; and applying the residual echo suppression process on the source-localized speech channel to produce a near-end speech signal for transmission to the remote end.
 11. A communication end device of a two-way communication system, the device comprising: a plurality of microphones for capturing local speech as a plurality of microphone channels; a speaker for playing remote audio received from an other end device; a plurality of audio echo canceling components arranged separately on the microphone channels for canceling echo of the remote audio captured on the respective microphone channel; at least one residual echo suppressing component for performing residual echo suppression; a sound source localization component for producing a direction of arrival estimate of the local speech based on the microphone channels; and a microphone array processing component for producing a local speech signal from the microphone channels according to the direction of arrival estimate of the sound source localization component.
 12. The communication end device of claim 11 wherein the at least one residual echo suppressing component comprises a plurality of residual echo suppressing components arranged separately on the microphone channels following the audio echo canceling components for performing residual echo suppression on the respective microphone channels.
 13. The communication end device of claim 12 wherein the sound source localization component operates on the outputs of the audio echo canceling components on the microphone channels prior to residual echo suppression to produce the direction of arrival estimate of the local speech, and wherein the microphone array processing component operates on outputs of the residual echo suppressing components on the microphone channels according to the direction of arrival estimate of the sound source localization component to produce the local speech signal for transmission to the other end device.
 14. The communication end device of claim 13 wherein the microphone array processing component is a beam-forming type.
 15. The communication end device of claim 12 further comprising a plurality of center clipping components arranged separately on the microphone channels following the residual echo suppressing component and preceding the microphone array processing component to perform center clipping on the respective microphone channels.
 16. The communication end device of claim 11 further comprising a center clipping component arranged following the microphone array processing component to perform center clipping on the local speech signal.
 17. The communication end device of claim 11 wherein the at least one residual echo suppressing component, the sound source localization component and microphone array processing component are formed of a combination comprising: a combined sound source localization and microphone array processing component operating on the microphone channels following the audio echo canceling components to produce a local speech channel and a set of microphone array coefficients; a plurality of residual echo prediction components and a microphone array processing component arranged in parallel to the combined sound source localization and microphone array processing component, the residual echo prediction components operating on the outputs of the audio echo cancellation components on the microphone channels to produce residual echo predictions for the respective microphone channels, the microphone array processing component operating to combine the residual echo predictions based on the microphone array coefficients to produce a combined residual echo prediction; and a subtraction component operating to subtract the residual echo prediction from the local speech channel to produce a signal for transmission to the other end device.
 18. The communication end device of claim 17 wherein the residual echo prediction for a microphone channel is a quantity, {circumflex over (R)}_(c)(f,t)e^(jφ) ^(c) ^((f,t)).
 19. The communication end device of claim 17 further comprising a maximum operator component for limiting the signal produced by the subtraction component from being less than a noise floor value.
 20. The communication end device of claim 17 wherein the at least one residual echo suppressing component, the sound source localization component and microphone array processing component are formed of a combination comprising: a combined sound source localization and microphone array processing component operating on the microphone channels following the audio echo canceling components to produce a local speech channel; and a residual echo suppressing component for performing residual echo suppression on the local speech channel. 